﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using ReportMobile.inc;

namespace ReportMobile.v2 {
    public partial class Feed_Main : System.Web.UI.Page {
        public string nowYear = DateTime.Now.Year.ToString();
        public DataTable dt = new DataTable();
        public double feedHJ;
        public Common cm = new Common();
        protected void Page_Load(object sender, EventArgs e) {
            Common comm = new Common();
            dt = comm.ExecuteProcedure("execute FeedIndex @sfYear = " + nowYear);
            //ds.Tables.Add(dt);
            //feedHJ = Convert.ToDouble(dt.Compute("sum(欠款余额)",""));
            feedHJ = Convert.ToDouble(dt.Rows[0]["借款"]) + Convert.ToDouble(dt.Rows[0]["贷款"]);
        }
    }
}